#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>
#include<string.h>
int my_strcmp(const char* p1,const char* p2)
{
	while (*p1 == *p2 && *p1)
	{
		p1++;
		p2++;
	}
	return *p1 - *p2;
}

int main()
{
	char arr1[] = "abw";
	char arr2[] = "abcdef";
	printf("%s\n%s\n", arr1, arr2);
	printf("%d\n", my_strcmp(arr1, arr2));
	return 0;
}